home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
packages
/
graphics
/
grfguide.tex
/
node8_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
863b
|
35 lines
<H3><A ID="SECTION00043100000000000000">
Using predefined colours</A>
</H3>
The syntax for colour changes is designed to mimic font changes.
The basic syntax is:
<P>
<BR>
<tex2html_image_mark>#decl75#
<BR>
<P>
This is a <I>declaration</I>, like |<B>|, it changes the current
colour to 〈<#365#><EM>name</EM><#365#>〉 until the end of the current group or
environment.
</B>
<P>
<B>An alternative command syntax is to use a <I>command</I> form that
takes the text to be coloured as an <I>argument</I>. This is similar
to the font commands such as |<B>|</B>:
</B>
<P>
<B><BR>
<tex2html_image_mark>#decl82#
<BR>
</B>
<P>
<B>So the above is essentially equivalent to
|<#342#>
<FONT COLOR="#000000">|<tex2html_comment_mark>30
<#915#><TT>{<#915#><#916#><EM>name<#916#><#917#><TT>}<#917#><I>text</I>|</TT></EM></TT></FONT><#342#>|.
</B>
<P>
<B></B>